package com.jhgk.jhcee.auth.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ActivityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ActivityExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andActivityIdIsNull() {
            addCriterion("activity_id is null");
            return (Criteria) this;
        }

        public Criteria andActivityIdIsNotNull() {
            addCriterion("activity_id is not null");
            return (Criteria) this;
        }

        public Criteria andActivityIdEqualTo(Integer value) {
            addCriterion("activity_id =", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotEqualTo(Integer value) {
            addCriterion("activity_id <>", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdGreaterThan(Integer value) {
            addCriterion("activity_id >", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("activity_id >=", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdLessThan(Integer value) {
            addCriterion("activity_id <", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdLessThanOrEqualTo(Integer value) {
            addCriterion("activity_id <=", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdIn(List<Integer> values) {
            addCriterion("activity_id in", values, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotIn(List<Integer> values) {
            addCriterion("activity_id not in", values, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdBetween(Integer value1, Integer value2) {
            addCriterion("activity_id between", value1, value2, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("activity_id not between", value1, value2, "activityId");
            return (Criteria) this;
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andActivityNumIsNull() {
            addCriterion("activity_num is null");
            return (Criteria) this;
        }

        public Criteria andActivityNumIsNotNull() {
            addCriterion("activity_num is not null");
            return (Criteria) this;
        }

        public Criteria andActivityNumEqualTo(Integer value) {
            addCriterion("activity_num =", value, "activityNum");
            return (Criteria) this;
        }

        public Criteria andActivityNumNotEqualTo(Integer value) {
            addCriterion("activity_num <>", value, "activityNum");
            return (Criteria) this;
        }

        public Criteria andActivityNumGreaterThan(Integer value) {
            addCriterion("activity_num >", value, "activityNum");
            return (Criteria) this;
        }

        public Criteria andActivityNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("activity_num >=", value, "activityNum");
            return (Criteria) this;
        }

        public Criteria andActivityNumLessThan(Integer value) {
            addCriterion("activity_num <", value, "activityNum");
            return (Criteria) this;
        }

        public Criteria andActivityNumLessThanOrEqualTo(Integer value) {
            addCriterion("activity_num <=", value, "activityNum");
            return (Criteria) this;
        }

        public Criteria andActivityNumIn(List<Integer> values) {
            addCriterion("activity_num in", values, "activityNum");
            return (Criteria) this;
        }

        public Criteria andActivityNumNotIn(List<Integer> values) {
            addCriterion("activity_num not in", values, "activityNum");
            return (Criteria) this;
        }

        public Criteria andActivityNumBetween(Integer value1, Integer value2) {
            addCriterion("activity_num between", value1, value2, "activityNum");
            return (Criteria) this;
        }

        public Criteria andActivityNumNotBetween(Integer value1, Integer value2) {
            addCriterion("activity_num not between", value1, value2, "activityNum");
            return (Criteria) this;
        }

        public Criteria andActivityNameIsNull() {
            addCriterion("activity_name is null");
            return (Criteria) this;
        }

        public Criteria andActivityNameIsNotNull() {
            addCriterion("activity_name is not null");
            return (Criteria) this;
        }

        public Criteria andActivityNameEqualTo(String value) {
            addCriterion("activity_name =", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameNotEqualTo(String value) {
            addCriterion("activity_name <>", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameGreaterThan(String value) {
            addCriterion("activity_name >", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameGreaterThanOrEqualTo(String value) {
            addCriterion("activity_name >=", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameLessThan(String value) {
            addCriterion("activity_name <", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameLessThanOrEqualTo(String value) {
            addCriterion("activity_name <=", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameLike(String value) {
            addCriterion("activity_name like", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameNotLike(String value) {
            addCriterion("activity_name not like", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameIn(List<String> values) {
            addCriterion("activity_name in", values, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameNotIn(List<String> values) {
            addCriterion("activity_name not in", values, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameBetween(String value1, String value2) {
            addCriterion("activity_name between", value1, value2, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameNotBetween(String value1, String value2) {
            addCriterion("activity_name not between", value1, value2, "activityName");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("description not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andImageUrlIsNull() {
            addCriterion("image_url is null");
            return (Criteria) this;
        }

        public Criteria andImageUrlIsNotNull() {
            addCriterion("image_url is not null");
            return (Criteria) this;
        }

        public Criteria andImageUrlEqualTo(String value) {
            addCriterion("image_url =", value, "imageUrl");
            return (Criteria) this;
        }

        public Criteria andImageUrlNotEqualTo(String value) {
            addCriterion("image_url <>", value, "imageUrl");
            return (Criteria) this;
        }

        public Criteria andImageUrlGreaterThan(String value) {
            addCriterion("image_url >", value, "imageUrl");
            return (Criteria) this;
        }

        public Criteria andImageUrlGreaterThanOrEqualTo(String value) {
            addCriterion("image_url >=", value, "imageUrl");
            return (Criteria) this;
        }

        public Criteria andImageUrlLessThan(String value) {
            addCriterion("image_url <", value, "imageUrl");
            return (Criteria) this;
        }

        public Criteria andImageUrlLessThanOrEqualTo(String value) {
            addCriterion("image_url <=", value, "imageUrl");
            return (Criteria) this;
        }

        public Criteria andImageUrlLike(String value) {
            addCriterion("image_url like", value, "imageUrl");
            return (Criteria) this;
        }

        public Criteria andImageUrlNotLike(String value) {
            addCriterion("image_url not like", value, "imageUrl");
            return (Criteria) this;
        }

        public Criteria andImageUrlIn(List<String> values) {
            addCriterion("image_url in", values, "imageUrl");
            return (Criteria) this;
        }

        public Criteria andImageUrlNotIn(List<String> values) {
            addCriterion("image_url not in", values, "imageUrl");
            return (Criteria) this;
        }

        public Criteria andImageUrlBetween(String value1, String value2) {
            addCriterion("image_url between", value1, value2, "imageUrl");
            return (Criteria) this;
        }

        public Criteria andImageUrlNotBetween(String value1, String value2) {
            addCriterion("image_url not between", value1, value2, "imageUrl");
            return (Criteria) this;
        }

        public Criteria andActivityContentIsNull() {
            addCriterion("activity_content is null");
            return (Criteria) this;
        }

        public Criteria andActivityContentIsNotNull() {
            addCriterion("activity_content is not null");
            return (Criteria) this;
        }

        public Criteria andActivityContentEqualTo(String value) {
            addCriterion("activity_content =", value, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentNotEqualTo(String value) {
            addCriterion("activity_content <>", value, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentGreaterThan(String value) {
            addCriterion("activity_content >", value, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentGreaterThanOrEqualTo(String value) {
            addCriterion("activity_content >=", value, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentLessThan(String value) {
            addCriterion("activity_content <", value, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentLessThanOrEqualTo(String value) {
            addCriterion("activity_content <=", value, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentLike(String value) {
            addCriterion("activity_content like", value, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentNotLike(String value) {
            addCriterion("activity_content not like", value, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentIn(List<String> values) {
            addCriterion("activity_content in", values, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentNotIn(List<String> values) {
            addCriterion("activity_content not in", values, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentBetween(String value1, String value2) {
            addCriterion("activity_content between", value1, value2, "activityContent");
            return (Criteria) this;
        }

        public Criteria andActivityContentNotBetween(String value1, String value2) {
            addCriterion("activity_content not between", value1, value2, "activityContent");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareIsNull() {
            addCriterion("is_paidShare is null");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareIsNotNull() {
            addCriterion("is_paidShare is not null");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareEqualTo(Integer value) {
            addCriterion("is_paidShare =", value, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareNotEqualTo(Integer value) {
            addCriterion("is_paidShare <>", value, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareGreaterThan(Integer value) {
            addCriterion("is_paidShare >", value, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_paidShare >=", value, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareLessThan(Integer value) {
            addCriterion("is_paidShare <", value, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareLessThanOrEqualTo(Integer value) {
            addCriterion("is_paidShare <=", value, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareIn(List<Integer> values) {
            addCriterion("is_paidShare in", values, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareNotIn(List<Integer> values) {
            addCriterion("is_paidShare not in", values, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareBetween(Integer value1, Integer value2) {
            addCriterion("is_paidShare between", value1, value2, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andIsPaidshareNotBetween(Integer value1, Integer value2) {
            addCriterion("is_paidShare not between", value1, value2, "isPaidshare");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointIsNull() {
            addCriterion("new_reward_point is null");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointIsNotNull() {
            addCriterion("new_reward_point is not null");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointEqualTo(Integer value) {
            addCriterion("new_reward_point =", value, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointNotEqualTo(Integer value) {
            addCriterion("new_reward_point <>", value, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointGreaterThan(Integer value) {
            addCriterion("new_reward_point >", value, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("new_reward_point >=", value, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointLessThan(Integer value) {
            addCriterion("new_reward_point <", value, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointLessThanOrEqualTo(Integer value) {
            addCriterion("new_reward_point <=", value, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointIn(List<Integer> values) {
            addCriterion("new_reward_point in", values, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointNotIn(List<Integer> values) {
            addCriterion("new_reward_point not in", values, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointBetween(Integer value1, Integer value2) {
            addCriterion("new_reward_point between", value1, value2, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardPointNotBetween(Integer value1, Integer value2) {
            addCriterion("new_reward_point not between", value1, value2, "newRewardPoint");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyIsNull() {
            addCriterion("new_reward_money is null");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyIsNotNull() {
            addCriterion("new_reward_money is not null");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyEqualTo(BigDecimal value) {
            addCriterion("new_reward_money =", value, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyNotEqualTo(BigDecimal value) {
            addCriterion("new_reward_money <>", value, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyGreaterThan(BigDecimal value) {
            addCriterion("new_reward_money >", value, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("new_reward_money >=", value, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyLessThan(BigDecimal value) {
            addCriterion("new_reward_money <", value, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("new_reward_money <=", value, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyIn(List<BigDecimal> values) {
            addCriterion("new_reward_money in", values, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyNotIn(List<BigDecimal> values) {
            addCriterion("new_reward_money not in", values, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("new_reward_money between", value1, value2, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andNewRewardMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("new_reward_money not between", value1, value2, "newRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyIsNull() {
            addCriterion("share_reward_money is null");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyIsNotNull() {
            addCriterion("share_reward_money is not null");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyEqualTo(BigDecimal value) {
            addCriterion("share_reward_money =", value, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyNotEqualTo(BigDecimal value) {
            addCriterion("share_reward_money <>", value, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyGreaterThan(BigDecimal value) {
            addCriterion("share_reward_money >", value, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("share_reward_money >=", value, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyLessThan(BigDecimal value) {
            addCriterion("share_reward_money <", value, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("share_reward_money <=", value, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyIn(List<BigDecimal> values) {
            addCriterion("share_reward_money in", values, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyNotIn(List<BigDecimal> values) {
            addCriterion("share_reward_money not in", values, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_reward_money between", value1, value2, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andShareRewardMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_reward_money not between", value1, value2, "shareRewardMoney");
            return (Criteria) this;
        }

        public Criteria andActivityPriceIsNull() {
            addCriterion("activity_price is null");
            return (Criteria) this;
        }

        public Criteria andActivityPriceIsNotNull() {
            addCriterion("activity_price is not null");
            return (Criteria) this;
        }

        public Criteria andActivityPriceEqualTo(BigDecimal value) {
            addCriterion("activity_price =", value, "activityPrice");
            return (Criteria) this;
        }

        public Criteria andActivityPriceNotEqualTo(BigDecimal value) {
            addCriterion("activity_price <>", value, "activityPrice");
            return (Criteria) this;
        }

        public Criteria andActivityPriceGreaterThan(BigDecimal value) {
            addCriterion("activity_price >", value, "activityPrice");
            return (Criteria) this;
        }

        public Criteria andActivityPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("activity_price >=", value, "activityPrice");
            return (Criteria) this;
        }

        public Criteria andActivityPriceLessThan(BigDecimal value) {
            addCriterion("activity_price <", value, "activityPrice");
            return (Criteria) this;
        }

        public Criteria andActivityPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("activity_price <=", value, "activityPrice");
            return (Criteria) this;
        }

        public Criteria andActivityPriceIn(List<BigDecimal> values) {
            addCriterion("activity_price in", values, "activityPrice");
            return (Criteria) this;
        }

        public Criteria andActivityPriceNotIn(List<BigDecimal> values) {
            addCriterion("activity_price not in", values, "activityPrice");
            return (Criteria) this;
        }

        public Criteria andActivityPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("activity_price between", value1, value2, "activityPrice");
            return (Criteria) this;
        }

        public Criteria andActivityPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("activity_price not between", value1, value2, "activityPrice");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyIsNull() {
            addCriterion("buy_reward_money is null");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyIsNotNull() {
            addCriterion("buy_reward_money is not null");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyEqualTo(BigDecimal value) {
            addCriterion("buy_reward_money =", value, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyNotEqualTo(BigDecimal value) {
            addCriterion("buy_reward_money <>", value, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyGreaterThan(BigDecimal value) {
            addCriterion("buy_reward_money >", value, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("buy_reward_money >=", value, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyLessThan(BigDecimal value) {
            addCriterion("buy_reward_money <", value, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("buy_reward_money <=", value, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyIn(List<BigDecimal> values) {
            addCriterion("buy_reward_money in", values, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyNotIn(List<BigDecimal> values) {
            addCriterion("buy_reward_money not in", values, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("buy_reward_money between", value1, value2, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andBuyRewardMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("buy_reward_money not between", value1, value2, "buyRewardMoney");
            return (Criteria) this;
        }

        public Criteria andActivityStateIsNull() {
            addCriterion("activity_state is null");
            return (Criteria) this;
        }

        public Criteria andActivityStateIsNotNull() {
            addCriterion("activity_state is not null");
            return (Criteria) this;
        }

        public Criteria andActivityStateEqualTo(Integer value) {
            addCriterion("activity_state =", value, "activityState");
            return (Criteria) this;
        }

        public Criteria andActivityStateNotEqualTo(Integer value) {
            addCriterion("activity_state <>", value, "activityState");
            return (Criteria) this;
        }

        public Criteria andActivityStateGreaterThan(Integer value) {
            addCriterion("activity_state >", value, "activityState");
            return (Criteria) this;
        }

        public Criteria andActivityStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("activity_state >=", value, "activityState");
            return (Criteria) this;
        }

        public Criteria andActivityStateLessThan(Integer value) {
            addCriterion("activity_state <", value, "activityState");
            return (Criteria) this;
        }

        public Criteria andActivityStateLessThanOrEqualTo(Integer value) {
            addCriterion("activity_state <=", value, "activityState");
            return (Criteria) this;
        }

        public Criteria andActivityStateIn(List<Integer> values) {
            addCriterion("activity_state in", values, "activityState");
            return (Criteria) this;
        }

        public Criteria andActivityStateNotIn(List<Integer> values) {
            addCriterion("activity_state not in", values, "activityState");
            return (Criteria) this;
        }

        public Criteria andActivityStateBetween(Integer value1, Integer value2) {
            addCriterion("activity_state between", value1, value2, "activityState");
            return (Criteria) this;
        }

        public Criteria andActivityStateNotBetween(Integer value1, Integer value2) {
            addCriterion("activity_state not between", value1, value2, "activityState");
            return (Criteria) this;
        }

        public Criteria andActivityMarkIsNull() {
            addCriterion("activity_mark is null");
            return (Criteria) this;
        }

        public Criteria andActivityMarkIsNotNull() {
            addCriterion("activity_mark is not null");
            return (Criteria) this;
        }

        public Criteria andActivityMarkEqualTo(String value) {
            addCriterion("activity_mark =", value, "activityMark");
            return (Criteria) this;
        }

        public Criteria andActivityMarkNotEqualTo(String value) {
            addCriterion("activity_mark <>", value, "activityMark");
            return (Criteria) this;
        }

        public Criteria andActivityMarkGreaterThan(String value) {
            addCriterion("activity_mark >", value, "activityMark");
            return (Criteria) this;
        }

        public Criteria andActivityMarkGreaterThanOrEqualTo(String value) {
            addCriterion("activity_mark >=", value, "activityMark");
            return (Criteria) this;
        }

        public Criteria andActivityMarkLessThan(String value) {
            addCriterion("activity_mark <", value, "activityMark");
            return (Criteria) this;
        }

        public Criteria andActivityMarkLessThanOrEqualTo(String value) {
            addCriterion("activity_mark <=", value, "activityMark");
            return (Criteria) this;
        }

        public Criteria andActivityMarkLike(String value) {
            addCriterion("activity_mark like", value, "activityMark");
            return (Criteria) this;
        }

        public Criteria andActivityMarkNotLike(String value) {
            addCriterion("activity_mark not like", value, "activityMark");
            return (Criteria) this;
        }

        public Criteria andActivityMarkIn(List<String> values) {
            addCriterion("activity_mark in", values, "activityMark");
            return (Criteria) this;
        }

        public Criteria andActivityMarkNotIn(List<String> values) {
            addCriterion("activity_mark not in", values, "activityMark");
            return (Criteria) this;
        }

        public Criteria andActivityMarkBetween(String value1, String value2) {
            addCriterion("activity_mark between", value1, value2, "activityMark");
            return (Criteria) this;
        }

        public Criteria andActivityMarkNotBetween(String value1, String value2) {
            addCriterion("activity_mark not between", value1, value2, "activityMark");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andLiveUuidIsNull() {
            addCriterion("live_uuid is null");
            return (Criteria) this;
        }

        public Criteria andLiveUuidIsNotNull() {
            addCriterion("live_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andLiveUuidEqualTo(String value) {
            addCriterion("live_uuid =", value, "liveUuid");
            return (Criteria) this;
        }

        public Criteria andLiveUuidNotEqualTo(String value) {
            addCriterion("live_uuid <>", value, "liveUuid");
            return (Criteria) this;
        }

        public Criteria andLiveUuidGreaterThan(String value) {
            addCriterion("live_uuid >", value, "liveUuid");
            return (Criteria) this;
        }

        public Criteria andLiveUuidGreaterThanOrEqualTo(String value) {
            addCriterion("live_uuid >=", value, "liveUuid");
            return (Criteria) this;
        }

        public Criteria andLiveUuidLessThan(String value) {
            addCriterion("live_uuid <", value, "liveUuid");
            return (Criteria) this;
        }

        public Criteria andLiveUuidLessThanOrEqualTo(String value) {
            addCriterion("live_uuid <=", value, "liveUuid");
            return (Criteria) this;
        }

        public Criteria andLiveUuidLike(String value) {
            addCriterion("live_uuid like", value, "liveUuid");
            return (Criteria) this;
        }

        public Criteria andLiveUuidNotLike(String value) {
            addCriterion("live_uuid not like", value, "liveUuid");
            return (Criteria) this;
        }

        public Criteria andLiveUuidIn(List<String> values) {
            addCriterion("live_uuid in", values, "liveUuid");
            return (Criteria) this;
        }

        public Criteria andLiveUuidNotIn(List<String> values) {
            addCriterion("live_uuid not in", values, "liveUuid");
            return (Criteria) this;
        }

        public Criteria andLiveUuidBetween(String value1, String value2) {
            addCriterion("live_uuid between", value1, value2, "liveUuid");
            return (Criteria) this;
        }

        public Criteria andLiveUuidNotBetween(String value1, String value2) {
            addCriterion("live_uuid not between", value1, value2, "liveUuid");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNull() {
            addCriterion("product_type is null");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNotNull() {
            addCriterion("product_type is not null");
            return (Criteria) this;
        }

        public Criteria andProductTypeEqualTo(Byte value) {
            addCriterion("product_type =", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotEqualTo(Byte value) {
            addCriterion("product_type <>", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThan(Byte value) {
            addCriterion("product_type >", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("product_type >=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThan(Byte value) {
            addCriterion("product_type <", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThanOrEqualTo(Byte value) {
            addCriterion("product_type <=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeIn(List<Byte> values) {
            addCriterion("product_type in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotIn(List<Byte> values) {
            addCriterion("product_type not in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeBetween(Byte value1, Byte value2) {
            addCriterion("product_type between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("product_type not between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andProductUuidIsNull() {
            addCriterion("product_uuid is null");
            return (Criteria) this;
        }

        public Criteria andProductUuidIsNotNull() {
            addCriterion("product_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andProductUuidEqualTo(String value) {
            addCriterion("product_uuid =", value, "productUuid");
            return (Criteria) this;
        }

        public Criteria andProductUuidNotEqualTo(String value) {
            addCriterion("product_uuid <>", value, "productUuid");
            return (Criteria) this;
        }

        public Criteria andProductUuidGreaterThan(String value) {
            addCriterion("product_uuid >", value, "productUuid");
            return (Criteria) this;
        }

        public Criteria andProductUuidGreaterThanOrEqualTo(String value) {
            addCriterion("product_uuid >=", value, "productUuid");
            return (Criteria) this;
        }

        public Criteria andProductUuidLessThan(String value) {
            addCriterion("product_uuid <", value, "productUuid");
            return (Criteria) this;
        }

        public Criteria andProductUuidLessThanOrEqualTo(String value) {
            addCriterion("product_uuid <=", value, "productUuid");
            return (Criteria) this;
        }

        public Criteria andProductUuidLike(String value) {
            addCriterion("product_uuid like", value, "productUuid");
            return (Criteria) this;
        }

        public Criteria andProductUuidNotLike(String value) {
            addCriterion("product_uuid not like", value, "productUuid");
            return (Criteria) this;
        }

        public Criteria andProductUuidIn(List<String> values) {
            addCriterion("product_uuid in", values, "productUuid");
            return (Criteria) this;
        }

        public Criteria andProductUuidNotIn(List<String> values) {
            addCriterion("product_uuid not in", values, "productUuid");
            return (Criteria) this;
        }

        public Criteria andProductUuidBetween(String value1, String value2) {
            addCriterion("product_uuid between", value1, value2, "productUuid");
            return (Criteria) this;
        }

        public Criteria andProductUuidNotBetween(String value1, String value2) {
            addCriterion("product_uuid not between", value1, value2, "productUuid");
            return (Criteria) this;
        }

        public Criteria andActStartTimeIsNull() {
            addCriterion("act_start_time is null");
            return (Criteria) this;
        }

        public Criteria andActStartTimeIsNotNull() {
            addCriterion("act_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andActStartTimeEqualTo(Date value) {
            addCriterion("act_start_time =", value, "actStartTime");
            return (Criteria) this;
        }

        public Criteria andActStartTimeNotEqualTo(Date value) {
            addCriterion("act_start_time <>", value, "actStartTime");
            return (Criteria) this;
        }

        public Criteria andActStartTimeGreaterThan(Date value) {
            addCriterion("act_start_time >", value, "actStartTime");
            return (Criteria) this;
        }

        public Criteria andActStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("act_start_time >=", value, "actStartTime");
            return (Criteria) this;
        }

        public Criteria andActStartTimeLessThan(Date value) {
            addCriterion("act_start_time <", value, "actStartTime");
            return (Criteria) this;
        }

        public Criteria andActStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("act_start_time <=", value, "actStartTime");
            return (Criteria) this;
        }

        public Criteria andActStartTimeIn(List<Date> values) {
            addCriterion("act_start_time in", values, "actStartTime");
            return (Criteria) this;
        }

        public Criteria andActStartTimeNotIn(List<Date> values) {
            addCriterion("act_start_time not in", values, "actStartTime");
            return (Criteria) this;
        }

        public Criteria andActStartTimeBetween(Date value1, Date value2) {
            addCriterion("act_start_time between", value1, value2, "actStartTime");
            return (Criteria) this;
        }

        public Criteria andActStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("act_start_time not between", value1, value2, "actStartTime");
            return (Criteria) this;
        }

        public Criteria andActEndTimeIsNull() {
            addCriterion("act_end_time is null");
            return (Criteria) this;
        }

        public Criteria andActEndTimeIsNotNull() {
            addCriterion("act_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andActEndTimeEqualTo(Date value) {
            addCriterion("act_end_time =", value, "actEndTime");
            return (Criteria) this;
        }

        public Criteria andActEndTimeNotEqualTo(Date value) {
            addCriterion("act_end_time <>", value, "actEndTime");
            return (Criteria) this;
        }

        public Criteria andActEndTimeGreaterThan(Date value) {
            addCriterion("act_end_time >", value, "actEndTime");
            return (Criteria) this;
        }

        public Criteria andActEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("act_end_time >=", value, "actEndTime");
            return (Criteria) this;
        }

        public Criteria andActEndTimeLessThan(Date value) {
            addCriterion("act_end_time <", value, "actEndTime");
            return (Criteria) this;
        }

        public Criteria andActEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("act_end_time <=", value, "actEndTime");
            return (Criteria) this;
        }

        public Criteria andActEndTimeIn(List<Date> values) {
            addCriterion("act_end_time in", values, "actEndTime");
            return (Criteria) this;
        }

        public Criteria andActEndTimeNotIn(List<Date> values) {
            addCriterion("act_end_time not in", values, "actEndTime");
            return (Criteria) this;
        }

        public Criteria andActEndTimeBetween(Date value1, Date value2) {
            addCriterion("act_end_time between", value1, value2, "actEndTime");
            return (Criteria) this;
        }

        public Criteria andActEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("act_end_time not between", value1, value2, "actEndTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}